package com.cainiao.pojo;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品级别的分拥统计记录表
 * DistributorDetailStatistic
 * 数据库表：distributor_detail_statistic
 */
public class DistributorDetailStatistic {

    /**
     * 主键
     * 表字段 : distributor_detail_statistic.id
     */
    private Long id;

    /**
     * 企业标识
     * 表字段 : distributor_detail_statistic.biz_code
     */
    private String bizCode;

    /**
     * 结算状态
     * 表字段 : distributor_detail_statistic.status
     */
    private Byte status;

    /**
     * 订单ID
     * 表字段 : distributor_detail_statistic.order_id
     */
    private Long orderId;

    /**
     * 订单号
     * 表字段 : distributor_detail_statistic.order_no
     */
    private String orderNo;

    /**
     * 商品ID
     * 表字段 : distributor_detail_statistic.item_id
     */
    private Long itemId;

    /**
     * 商品名称
     * 表字段 : distributor_detail_statistic.item_name
     */
    private String itemName;

    /**
     * 商品主图URL
     * 表字段 : distributor_detail_statistic.item_img_url
     */
    private String itemImgUrl;

    /**
     * sku ID
     * 表字段 : distributor_detail_statistic.item_sku_id
     */
    private Long itemSkuId;

    /**
     * sku描述
     * 表字段 : distributor_detail_statistic.item_sku_desc
     */
    private String itemSkuDesc;

    /**
     * 商品数量
     * 表字段 : distributor_detail_statistic.number
     */
    private Integer number;

    /**
     * 商品单价
     * 表字段 : distributor_detail_statistic.unit_price
     */
    private Long unitPrice;

    /**
     * 类目ID
     * 表字段 : distributor_detail_statistic.category_id
     */
    private Long categoryId;

    /**
     * 订单状态
     * 表字段 : distributor_detail_statistic.order_status
     */
    private Byte orderStatus;

    /**
     * 买家ID
     * 表字段 : distributor_detail_statistic.buyer_id
     */
    private Long buyerId;

    /**
     * 买家名称
     * 表字段 : distributor_detail_statistic.buyer_name
     */
    private String buyerName;

    /**
     * 卖家ID
     * 表字段 : distributor_detail_statistic.seller_id
     */
    private Long sellerId;

    /**
     * 下单时间
     * 表字段 : distributor_detail_statistic.gmt_trade
     */
    private Date gmtTrade;

    /**
     * 支付类型
     * 表字段 : distributor_detail_statistic.pay_type
     */
    private Byte payType;

    /**
     * 支付价格
     * 表字段 : distributor_detail_statistic.total_amount
     */
    private Long totalAmount;

    /**
     * 退款金额
     * 表字段 : distributor_detail_statistic.refund_amount
     */
    private Long refundAmount;

    /**
     * 分销商ID
     * 表字段 : distributor_detail_statistic.distributor_id
     */
    private Long distributorId;

    /**
     * 分销名称
     * 表字段 : distributor_detail_statistic.distributor_name
     */
    private String distributorName;

    /**
     * 分拥金额
     * 表字段 : distributor_detail_statistic.dist_amount
     */
    private Long distAmount;

    /**
     * 分拥比率
     * 表字段 : distributor_detail_statistic.dist_ratio
     */
    private BigDecimal distRatio;

    /**
     * 分拥类型
     * 表字段 : distributor_detail_statistic.dist_type
     */
    private Byte distType;

    /**
     * 退款导致的流失的金额
     * 表字段 : distributor_detail_statistic.refund_dist_amount
     */
    private Long refundDistAmount;

    /**
     * 分销等级
     * 表字段 : distributor_detail_statistic.relation_level
     */
    private Integer relationLevel;

    /**
     * 
     * 表字段 : distributor_detail_statistic.delete_mark
     */
    private Byte deleteMark;

    /**
     * 
     * 表字段 : distributor_detail_statistic.gmt_created
     */
    private Date gmtCreated;

    /**
     * 
     * 表字段 : distributor_detail_statistic.gmt_modified
     */
    private Date gmtModified;

    /**
     * 获取 主键 字段:distributor_detail_statistic.id
     *
     * @return distributor_detail_statistic.id, 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置 主键 字段:distributor_detail_statistic.id
     *
     * @param id the value for distributor_detail_statistic.id, 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取 企业标识 字段:distributor_detail_statistic.biz_code
     *
     * @return distributor_detail_statistic.biz_code, 企业标识
     */
    public String getBizCode() {
        return bizCode;
    }

    /**
     * 设置 企业标识 字段:distributor_detail_statistic.biz_code
     *
     * @param bizCode the value for distributor_detail_statistic.biz_code, 企业标识
     */
    public void setBizCode(String bizCode) {
        this.bizCode = bizCode == null ? null : bizCode.trim();
    }

    /**
     * 获取 结算状态 字段:distributor_detail_statistic.status
     *
     * @return distributor_detail_statistic.status, 结算状态
     */
    public Byte getStatus() {
        return status;
    }

    /**
     * 设置 结算状态 字段:distributor_detail_statistic.status
     *
     * @param status the value for distributor_detail_statistic.status, 结算状态
     */
    public void setStatus(Byte status) {
        this.status = status;
    }

    /**
     * 获取 订单ID 字段:distributor_detail_statistic.order_id
     *
     * @return distributor_detail_statistic.order_id, 订单ID
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置 订单ID 字段:distributor_detail_statistic.order_id
     *
     * @param orderId the value for distributor_detail_statistic.order_id, 订单ID
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 订单号 字段:distributor_detail_statistic.order_no
     *
     * @return distributor_detail_statistic.order_no, 订单号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 设置 订单号 字段:distributor_detail_statistic.order_no
     *
     * @param orderNo the value for distributor_detail_statistic.order_no, 订单号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo == null ? null : orderNo.trim();
    }

    /**
     * 获取 商品ID 字段:distributor_detail_statistic.item_id
     *
     * @return distributor_detail_statistic.item_id, 商品ID
     */
    public Long getItemId() {
        return itemId;
    }

    /**
     * 设置 商品ID 字段:distributor_detail_statistic.item_id
     *
     * @param itemId the value for distributor_detail_statistic.item_id, 商品ID
     */
    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取 商品名称 字段:distributor_detail_statistic.item_name
     *
     * @return distributor_detail_statistic.item_name, 商品名称
     */
    public String getItemName() {
        return itemName;
    }

    /**
     * 设置 商品名称 字段:distributor_detail_statistic.item_name
     *
     * @param itemName the value for distributor_detail_statistic.item_name, 商品名称
     */
    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    /**
     * 获取 商品主图URL 字段:distributor_detail_statistic.item_img_url
     *
     * @return distributor_detail_statistic.item_img_url, 商品主图URL
     */
    public String getItemImgUrl() {
        return itemImgUrl;
    }

    /**
     * 设置 商品主图URL 字段:distributor_detail_statistic.item_img_url
     *
     * @param itemImgUrl the value for distributor_detail_statistic.item_img_url, 商品主图URL
     */
    public void setItemImgUrl(String itemImgUrl) {
        this.itemImgUrl = itemImgUrl == null ? null : itemImgUrl.trim();
    }

    /**
     * 获取 sku ID 字段:distributor_detail_statistic.item_sku_id
     *
     * @return distributor_detail_statistic.item_sku_id, sku ID
     */
    public Long getItemSkuId() {
        return itemSkuId;
    }

    /**
     * 设置 sku ID 字段:distributor_detail_statistic.item_sku_id
     *
     * @param itemSkuId the value for distributor_detail_statistic.item_sku_id, sku ID
     */
    public void setItemSkuId(Long itemSkuId) {
        this.itemSkuId = itemSkuId;
    }

    /**
     * 获取 sku描述 字段:distributor_detail_statistic.item_sku_desc
     *
     * @return distributor_detail_statistic.item_sku_desc, sku描述
     */
    public String getItemSkuDesc() {
        return itemSkuDesc;
    }

    /**
     * 设置 sku描述 字段:distributor_detail_statistic.item_sku_desc
     *
     * @param itemSkuDesc the value for distributor_detail_statistic.item_sku_desc, sku描述
     */
    public void setItemSkuDesc(String itemSkuDesc) {
        this.itemSkuDesc = itemSkuDesc == null ? null : itemSkuDesc.trim();
    }

    /**
     * 获取 商品数量 字段:distributor_detail_statistic.number
     *
     * @return distributor_detail_statistic.number, 商品数量
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * 设置 商品数量 字段:distributor_detail_statistic.number
     *
     * @param number the value for distributor_detail_statistic.number, 商品数量
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    /**
     * 获取 商品单价 字段:distributor_detail_statistic.unit_price
     *
     * @return distributor_detail_statistic.unit_price, 商品单价
     */
    public Long getUnitPrice() {
        return unitPrice;
    }

    /**
     * 设置 商品单价 字段:distributor_detail_statistic.unit_price
     *
     * @param unitPrice the value for distributor_detail_statistic.unit_price, 商品单价
     */
    public void setUnitPrice(Long unitPrice) {
        this.unitPrice = unitPrice;
    }

    /**
     * 获取 类目ID 字段:distributor_detail_statistic.category_id
     *
     * @return distributor_detail_statistic.category_id, 类目ID
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置 类目ID 字段:distributor_detail_statistic.category_id
     *
     * @param categoryId the value for distributor_detail_statistic.category_id, 类目ID
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取 订单状态 字段:distributor_detail_statistic.order_status
     *
     * @return distributor_detail_statistic.order_status, 订单状态
     */
    public Byte getOrderStatus() {
        return orderStatus;
    }

    /**
     * 设置 订单状态 字段:distributor_detail_statistic.order_status
     *
     * @param orderStatus the value for distributor_detail_statistic.order_status, 订单状态
     */
    public void setOrderStatus(Byte orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 获取 买家ID 字段:distributor_detail_statistic.buyer_id
     *
     * @return distributor_detail_statistic.buyer_id, 买家ID
     */
    public Long getBuyerId() {
        return buyerId;
    }

    /**
     * 设置 买家ID 字段:distributor_detail_statistic.buyer_id
     *
     * @param buyerId the value for distributor_detail_statistic.buyer_id, 买家ID
     */
    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    /**
     * 获取 买家名称 字段:distributor_detail_statistic.buyer_name
     *
     * @return distributor_detail_statistic.buyer_name, 买家名称
     */
    public String getBuyerName() {
        return buyerName;
    }

    /**
     * 设置 买家名称 字段:distributor_detail_statistic.buyer_name
     *
     * @param buyerName the value for distributor_detail_statistic.buyer_name, 买家名称
     */
    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName == null ? null : buyerName.trim();
    }

    /**
     * 获取 卖家ID 字段:distributor_detail_statistic.seller_id
     *
     * @return distributor_detail_statistic.seller_id, 卖家ID
     */
    public Long getSellerId() {
        return sellerId;
    }

    /**
     * 设置 卖家ID 字段:distributor_detail_statistic.seller_id
     *
     * @param sellerId the value for distributor_detail_statistic.seller_id, 卖家ID
     */
    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    /**
     * 获取 下单时间 字段:distributor_detail_statistic.gmt_trade
     *
     * @return distributor_detail_statistic.gmt_trade, 下单时间
     */
    public Date getGmtTrade() {
        return gmtTrade;
    }

    /**
     * 设置 下单时间 字段:distributor_detail_statistic.gmt_trade
     *
     * @param gmtTrade the value for distributor_detail_statistic.gmt_trade, 下单时间
     */
    public void setGmtTrade(Date gmtTrade) {
        this.gmtTrade = gmtTrade;
    }

    /**
     * 获取 支付类型 字段:distributor_detail_statistic.pay_type
     *
     * @return distributor_detail_statistic.pay_type, 支付类型
     */
    public Byte getPayType() {
        return payType;
    }

    /**
     * 设置 支付类型 字段:distributor_detail_statistic.pay_type
     *
     * @param payType the value for distributor_detail_statistic.pay_type, 支付类型
     */
    public void setPayType(Byte payType) {
        this.payType = payType;
    }

    /**
     * 获取 支付价格 字段:distributor_detail_statistic.total_amount
     *
     * @return distributor_detail_statistic.total_amount, 支付价格
     */
    public Long getTotalAmount() {
        return totalAmount;
    }

    /**
     * 设置 支付价格 字段:distributor_detail_statistic.total_amount
     *
     * @param totalAmount the value for distributor_detail_statistic.total_amount, 支付价格
     */
    public void setTotalAmount(Long totalAmount) {
        this.totalAmount = totalAmount;
    }

    /**
     * 获取 退款金额 字段:distributor_detail_statistic.refund_amount
     *
     * @return distributor_detail_statistic.refund_amount, 退款金额
     */
    public Long getRefundAmount() {
        return refundAmount;
    }

    /**
     * 设置 退款金额 字段:distributor_detail_statistic.refund_amount
     *
     * @param refundAmount the value for distributor_detail_statistic.refund_amount, 退款金额
     */
    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    /**
     * 获取 分销商ID 字段:distributor_detail_statistic.distributor_id
     *
     * @return distributor_detail_statistic.distributor_id, 分销商ID
     */
    public Long getDistributorId() {
        return distributorId;
    }

    /**
     * 设置 分销商ID 字段:distributor_detail_statistic.distributor_id
     *
     * @param distributorId the value for distributor_detail_statistic.distributor_id, 分销商ID
     */
    public void setDistributorId(Long distributorId) {
        this.distributorId = distributorId;
    }

    /**
     * 获取 分销名称 字段:distributor_detail_statistic.distributor_name
     *
     * @return distributor_detail_statistic.distributor_name, 分销名称
     */
    public String getDistributorName() {
        return distributorName;
    }

    /**
     * 设置 分销名称 字段:distributor_detail_statistic.distributor_name
     *
     * @param distributorName the value for distributor_detail_statistic.distributor_name, 分销名称
     */
    public void setDistributorName(String distributorName) {
        this.distributorName = distributorName == null ? null : distributorName.trim();
    }

    /**
     * 获取 分拥金额 字段:distributor_detail_statistic.dist_amount
     *
     * @return distributor_detail_statistic.dist_amount, 分拥金额
     */
    public Long getDistAmount() {
        return distAmount;
    }

    /**
     * 设置 分拥金额 字段:distributor_detail_statistic.dist_amount
     *
     * @param distAmount the value for distributor_detail_statistic.dist_amount, 分拥金额
     */
    public void setDistAmount(Long distAmount) {
        this.distAmount = distAmount;
    }

    /**
     * 获取 分拥比率 字段:distributor_detail_statistic.dist_ratio
     *
     * @return distributor_detail_statistic.dist_ratio, 分拥比率
     */
    public BigDecimal getDistRatio() {
        return distRatio;
    }

    /**
     * 设置 分拥比率 字段:distributor_detail_statistic.dist_ratio
     *
     * @param distRatio the value for distributor_detail_statistic.dist_ratio, 分拥比率
     */
    public void setDistRatio(BigDecimal distRatio) {
        this.distRatio = distRatio;
    }

    /**
     * 获取 分拥类型 字段:distributor_detail_statistic.dist_type
     *
     * @return distributor_detail_statistic.dist_type, 分拥类型
     */
    public Byte getDistType() {
        return distType;
    }

    /**
     * 设置 分拥类型 字段:distributor_detail_statistic.dist_type
     *
     * @param distType the value for distributor_detail_statistic.dist_type, 分拥类型
     */
    public void setDistType(Byte distType) {
        this.distType = distType;
    }

    /**
     * 获取 退款导致的流失的金额 字段:distributor_detail_statistic.refund_dist_amount
     *
     * @return distributor_detail_statistic.refund_dist_amount, 退款导致的流失的金额
     */
    public Long getRefundDistAmount() {
        return refundDistAmount;
    }

    /**
     * 设置 退款导致的流失的金额 字段:distributor_detail_statistic.refund_dist_amount
     *
     * @param refundDistAmount the value for distributor_detail_statistic.refund_dist_amount, 退款导致的流失的金额
     */
    public void setRefundDistAmount(Long refundDistAmount) {
        this.refundDistAmount = refundDistAmount;
    }

    /**
     * 获取 分销等级 字段:distributor_detail_statistic.relation_level
     *
     * @return distributor_detail_statistic.relation_level, 分销等级
     */
    public Integer getRelationLevel() {
        return relationLevel;
    }

    /**
     * 设置 分销等级 字段:distributor_detail_statistic.relation_level
     *
     * @param relationLevel the value for distributor_detail_statistic.relation_level, 分销等级
     */
    public void setRelationLevel(Integer relationLevel) {
        this.relationLevel = relationLevel;
    }

    /**
     * 获取  字段:distributor_detail_statistic.delete_mark
     *
     * @return distributor_detail_statistic.delete_mark, 
     */
    public Byte getDeleteMark() {
        return deleteMark;
    }

    /**
     * 设置  字段:distributor_detail_statistic.delete_mark
     *
     * @param deleteMark the value for distributor_detail_statistic.delete_mark, 
     */
    public void setDeleteMark(Byte deleteMark) {
        this.deleteMark = deleteMark;
    }

    /**
     * 获取  字段:distributor_detail_statistic.gmt_created
     *
     * @return distributor_detail_statistic.gmt_created, 
     */
    public Date getGmtCreated() {
        return gmtCreated;
    }

    /**
     * 设置  字段:distributor_detail_statistic.gmt_created
     *
     * @param gmtCreated the value for distributor_detail_statistic.gmt_created, 
     */
    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    /**
     * 获取  字段:distributor_detail_statistic.gmt_modified
     *
     * @return distributor_detail_statistic.gmt_modified, 
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * 设置  字段:distributor_detail_statistic.gmt_modified
     *
     * @param gmtModified the value for distributor_detail_statistic.gmt_modified, 
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}